home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / basic / BasicSplitPaneUI$KeyboardEndHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  1.2 KB  |  25 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. public class BasicSplitPaneUI$KeyboardEndHandler implements ActionListener {
  7.    // $FF: synthetic field
  8.    private final BasicSplitPaneUI this$0;
  9.  
  10.    public BasicSplitPaneUI$KeyboardEndHandler(BasicSplitPaneUI var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void actionPerformed(ActionEvent var1) {
  15.       if (BasicSplitPaneUI.access$2(this.this$0)) {
  16.          if (BasicSplitPaneUI.access$0(this.this$0) == 0) {
  17.             this.this$0.setDividerLocation(this.this$0.splitPane, this.this$0.splitPane.getHeight() - this.this$0.splitPane.getInsets().bottom);
  18.          } else {
  19.             this.this$0.setDividerLocation(this.this$0.splitPane, this.this$0.splitPane.getWidth() - this.this$0.splitPane.getInsets().right);
  20.          }
  21.       }
  22.  
  23.    }
  24. }
  25.